package tcc_scheduler;

import java.util.LinkedList;
import java.util.Queue;

public class ProcessingUnit {
	
	private Long processingTime;
	private Long communicationTime;	
	private Long workLoad;
	
	Queue<Task> tasks = new LinkedList<Task>();	

	// Data regarding access time to external systems
	
	public Long getTasksPerTimeUnit() {
		return processingTime;
	}
	public void setTasksPerTimeUnit(Long tasksPerTimeUnit) {
		this.processingTime = tasksPerTimeUnit;
	}
	public Long getWorkLoad() {
		return workLoad;
	}
	public void setWorkLoad(Long workLoad) {
		this.workLoad = workLoad;
	}

	public Long getProcessingTime() {
		return processingTime;
	}

	public void setProcessingTime(Long processingTime) {
		this.processingTime = processingTime;
	}

	public Long getCommunicationTime() {
		return communicationTime;
	}

	public void setCommunicationTime(Long communicationTime) {
		this.communicationTime = communicationTime;
	}
	
	public void processTask()
	{
		
	}	
	
	public void addTask(Task task)
	{
		
	}
	
	public Long getExpectedTime()
	{
		return processingTime + communicationTime + workLoad;
	}
}
